﻿using DeviceFaultPushService.MessagePushService.Models;

namespace DeviceFaultPushService.SystemService.Model;

/// <summary>
/// 配置模型
/// </summary>
public class SystemConfigurationModel
{

    /// <summary>
    /// 采集间隔 默认s
    /// </summary>
    public int CollectionInterval { get; set; }

    /// <summary>
    /// 报警间隔 默认s
    /// </summary>
    public int AlarmInterval { get; set; }

    /// <summary>
    /// 启用语音播报服务
    /// </summary>
    public bool EnableVoiceBroadcastingService { get; set; }

    /// <summary>
    /// 启用推送服务
    /// </summary>
    public bool EnablePushService { get; set; }

    /// <summary>
    /// 报警模板 无数据
    /// </summary>
    public string Template { get; set; }

    /// <summary>
    /// 联系人
    /// </summary>
    public List<ContactsModel> Contacts { get; set; }

    /// <summary>
    /// 信息通道
    /// </summary>
    public MessageChannelEnum Passageway { get; set; }

    /// <summary>
    /// 通道信息
    /// </summary>
    public string PassagewayMessage { get; set; }
}